package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 短息记录对象 sys_message
 * 
 * @author ruoyi
 * @date 2020-12-13
 */
public class SysMessage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 短信ID */
    private Long messageId;

    /** 短信内容 */
    @Excel(name = "短信内容")
    private String content;

    /** 发送人 */
    @Excel(name = "发送人")
    private String sendPerson;

    /** 接收人 */
    @Excel(name = "接收人")
    private String acceptPerson;

    /** 扩展字段1 */
    @Excel(name = "扩展字段1")
    private String attribute1;

    /** 扩展字段2 */
    @Excel(name = "扩展字段2")
    private String attribute2;

    /** 扩展字段3 */
    @Excel(name = "扩展字段3")
    private String attribute3;

    public void setMessageId(Long messageId) 
    {
        this.messageId = messageId;
    }

    public Long getMessageId() 
    {
        return messageId;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setSendPerson(String sendPerson) 
    {
        this.sendPerson = sendPerson;
    }

    public String getSendPerson() 
    {
        return sendPerson;
    }
    public void setAcceptPerson(String acceptPerson) 
    {
        this.acceptPerson = acceptPerson;
    }

    public String getAcceptPerson() 
    {
        return acceptPerson;
    }
    public void setAttribute1(String attribute1) 
    {
        this.attribute1 = attribute1;
    }

    public String getAttribute1() 
    {
        return attribute1;
    }
    public void setAttribute2(String attribute2) 
    {
        this.attribute2 = attribute2;
    }

    public String getAttribute2() 
    {
        return attribute2;
    }
    public void setAttribute3(String attribute3) 
    {
        this.attribute3 = attribute3;
    }

    public String getAttribute3() 
    {
        return attribute3;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("messageId", getMessageId())
            .append("content", getContent())
            .append("sendPerson", getSendPerson())
            .append("acceptPerson", getAcceptPerson())
            .append("createTime", getCreateTime())
            .append("attribute1", getAttribute1())
            .append("attribute2", getAttribute2())
            .append("attribute3", getAttribute3())
            .toString();
    }
}
